Hi Ray,
Each User Thread is 64KBytes but thread #7 is bigger 5 x 64KBytes. You may also overflow into the next Thread if you are careful never to use it at the same time.
#define MAX_USER_PROG_SIZE_KFLOP 0x10000 // space between each thread/user program
When you compile programs from the KMotion C Programs Screen the size is printed below the file where any errors are displayed.
Local variables are placed on the Stack and do not use this space but the Stack size for each Thread is only 2KBytes (The Stack resided in super fast internal DSP memory (single cycle 5ns 256-bits wide memory).
Regards
TK